<template>

  <div>

    <!--   数据展示-->
    <el-table :data="globalUserData">
      <el-table-column label="员工编号" prop="tenantCode"/>
      <el-table-column label="账号" prop="account"/>
      <el-table-column label="邮箱" prop="email"/>
      <el-table-column label="电话" prop="mobile"/>
      <el-table-column label="姓名" prop="name"/>
      <el-table-column label="创建时间" prop="createTime"/>
      <el-table-column label="修改时间" prop="updateTime"/>
    </el-table>

  </div>

</template>

<script>
import globalUser from '@/api/base/globalUser/index'

export default {
  name: 'index',
  data() {
    return {
      globalUserData: []
    }
  }, methods: {
    queryAll() {
      globalUser.queryAll().then(data => {
        this.globalUserData = data.data
      })
    }
  }, mounted() {
    this.queryAll()
  }
}
</script>

<style scoped>

</style>
